/**
 * 
 */
package br.com.ac.fatureweb.integration.model;

import java.io.Serializable;

/**
 * @author aldivone
 *
 */
public class LancamentoFuturoVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2791048186901327211L;

	private Long id;

	private Long inscricao;

	private Long codServico;

	private String descricao;

	private Double valor;

	private String parcela;

	public LancamentoFuturoVO() {
		super();
	}

	public LancamentoFuturoVO(Long id, Long inscricao, Long codServico,
			String descricao, Double valor, String parcela) {
		super();
		this.id = id;
		this.inscricao = inscricao;
		this.codServico = codServico;
		this.descricao = descricao;
		this.valor = valor;
		this.parcela = parcela;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (!(obj instanceof LancamentoFuturoVO)) {
			return false;
		}
		LancamentoFuturoVO other = (LancamentoFuturoVO) obj;
		if (id == null) {
			if (other.id != null) {
				return false;
			}
		} else if (!id.equals(other.id)) {
			return false;
		}
		return true;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the inscricao
	 */
	public Long getInscricao() {
		return inscricao;
	}

	/**
	 * @param inscricao
	 *            the inscricao to set
	 */
	public void setInscricao(Long inscricao) {
		this.inscricao = inscricao;
	}

	/**
	 * @return the codServico
	 */
	public Long getCodServico() {
		return codServico;
	}

	/**
	 * @param codServico
	 *            the codServico to set
	 */
	public void setCodServico(Long codServico) {
		this.codServico = codServico;
	}

	/**
	 * @return the descricao
	 */
	public String getDescricao() {
		return descricao;
	}

	/**
	 * @param descricao
	 *            the descricao to set
	 */
	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}

	/**
	 * @return the valor
	 */
	public Double getValor() {
		return valor;
	}

	/**
	 * @param valor
	 *            the valor to set
	 */
	public void setValor(Double valor) {
		this.valor = valor;
	}

	/**
	 * @return the parcela
	 */
	public String getParcela() {
		return parcela;
	}

	/**
	 * @param parcela
	 *            the parcela to set
	 */
	public void setParcela(String parcela) {
		this.parcela = parcela;
	}

}
